package com.xjy.pojo;

public class Cart {

    private String cid;
    private int uid;
    private Path path;
    private int num;

    public Cart(){}

    public Cart(String cid, int uid, Path path, int num) {
        this.cid = cid;
        this.uid = uid;
        this.path = path;
        this.num = num;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public Path getPath() {
        return path;
    }

    public void setPath(Path path) {
        this.path = path;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "cid='" + cid + '\'' +
                ", uid=" + uid +
                ", path=" + path +
                ", num=" + num +
                '}';
    }
}
